package main

import "database/sql"

type DbWorker struct {
	//mysql data source name
	Dsn string
}

func main() {
	dbw := DbWorker{
		Dsn: "openplat_rd_r:dxlGityEYDabjs2j5adQ@tcp(10.61.173.54:3323)/openplat_wj",
	}
	db, err := sql.Open("mysql",
		dbw.Dsn)
	if err != nil {
		panic(err)
		return
	}
	defer db.Close()
}
